#ifndef CPUREGISTERSDLG_H
#define CPUREGISTERSDLG_H

#include <wx/panel.h>
#include <M_Code_debugger_interfaces.h>

class wxListCtrl;

class CPURegistersDlg : public wxPanel, public cbCPURegistersDlg {
  public:
    CPURegistersDlg( wxWindow* parent );
    wxWindow* GetWindow() { return this; }
    void Clear();
    void SetRegisterValue( const wxString& reg_name, const wxString& hexValue, const wxString& interpreted );
    void EnableWindow( bool enable );
  protected:
    int RegisterIndex( const wxString& reg_name );
    void OnRefresh( wxCommandEvent& event );
  private:
    DECLARE_EVENT_TABLE();
  private:
    wxListCtrl* m_pList;
};

#endif
